﻿package com.example.demo.dao
import com.example.demo.dbmodels.*
import me.liuwj.ktorm.schema.*
import java.math.BigDecimal
/**
 * View
 *  VIEW
 **/
object VUserDao : Table<VUser>("v_user"){
	var id = int("id").bindTo { it.id }
	var district_code = int("district_code").bindTo { it.district_code }
	var user_code = int("user_code").bindTo { it.user_code }
	var user_name = int("user_name").bindTo { it.user_name }
	var user_type = int("user_type").bindTo { it.user_type }
	var sex = int("sex").bindTo { it.sex }
	var date_birth = int("date_birth").bindTo { it.date_birth }
	var birthplace = int("birthplace").bindTo { it.birthplace }
	var mobile = int("mobile").bindTo { it.mobile }
	var phone = int("phone").bindTo { it.phone }
	var email = int("email").bindTo { it.email }
	var id_number = int("id_number").bindTo { it.id_number }
	var id_number_type = int("id_number_type").bindTo { it.id_number_type }
	var pca_code = int("pca_code").bindTo { it.pca_code }
	var address = int("address").bindTo { it.address }
	var password_question = int("password_question").bindTo { it.password_question }
	var password_answer = int("password_answer").bindTo { it.password_answer }
	var last_login = int("last_login").bindTo { it.last_login }
	var reg_time = int("reg_time").bindTo { it.reg_time }
	var cance_time = int("cance_time").bindTo { it.cance_time }
	var user_state = int("user_state").bindTo { it.user_state }
	var terminal = int("terminal").bindTo { it.terminal }
	var status = int("status").bindTo { it.status }
	var remark = int("remark").bindTo { it.remark }
	var photo_url = int("photo_url").bindTo { it.photo_url }
	var default_page = int("default_page").bindTo { it.default_page }
	var update_time = int("update_time").bindTo { it.update_time }
	var update_by = int("update_by").bindTo { it.update_by }
	var sex_text = int("sex_text").bindTo { it.sex_text }
	var update_by_who = int("update_by_who").bindTo { it.update_by_who }
}
